<template>
  <div id="app ">
    <TopHead></TopHead>
    <Nav></Nav>
    <router-view />
    <Fooder></Fooder>
    <transition name="scale">
      <Login v-show="$store.state.isshowlogin"></Login>
    </transition>
    <Toast v-show="$store.state.isshowtoast"></Toast>
  </div>
</template>
<script>
import Nav from "../src/components/common/Nav.vue";
import Fooder from "../src/components/common/Fooder.vue";
import TopHead from "../src/components/common/TopHead.vue";
import Login from "../src/components/common/Login.vue";
import Toast from "../src/components/common/Toast.vue";
export default {
  components: {
    Nav,
    Fooder,
    TopHead,
    Login,
    Toast,
  },
};
</script>
<style lang="less" scoped>
.scale-enter,
.scale-leave-to {
  opacity: 0;
}
.scale-enter-active,
.scale-leave-active {
  transition: opacity 0.5s;
}
.scale-enter-to,
.scale-leave {
  opacity: 1;
}
</style>


<style lang="less">
</style>
